// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:27

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   t6.java

package com.zelix;

import java.io.*;
import java.util.Hashtable;

// Referenced classes of package com.zelix:
//            pt, tb, s6, sx, 
//            kt, zs, nh

public class t6 extends pt
{

    private boolean j;
    private byte n[];
    private int o;
    private s6 p[];

    t6(kt kt1, zs zs, int i)
    {
        super(kt1, zs, i);
        j = true;
    }

    public int c()
    {
        return o;
    }

    int q()
        throws tb
    {
        int i;
        int k;
        int l;
        l = kt.i;
        i = 2;
        k = 0;
        if(l == 0) goto _L2; else goto _L1
_L1:
        i += p[k].a();
        k++;
_L2:
        if(k >= o)
        {
            super.m = i;
            return i;
        }
        if(true) goto _L1; else goto _L3
_L3:
    }

    zs d()
    {
        return super.k;
    }

    public void a(Hashtable hashtable)
    {
        hashtable.put(super.k, this);
    }

    void a(s6 as6[])
    {
        o = as6.length;
        p = as6;
    }

    protected void a(DataOutputStream dataoutputstream, Hashtable hashtable, nh nh)
        throws IOException, tb
    {
label0:
        {
            super.a(dataoutputstream, hashtable, nh);
            if(j)
            {
                a(dataoutputstream);
                if(kt.i == 0)
                    break label0;
            }
            dataoutputstream.write(n);
        }
    }

    protected void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        sx sx1;
        int i;
        int k;
        k = kt.i;
        dataoutputstream.writeShort(o);
        sx1 = new sx(-1);
        i = 0;
        if(k == 0) goto _L2; else goto _L1
_L1:
        p[i].a(dataoutputstream, sx1);
        i++;
_L2:
        if(i >= o)
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }
}